package com.rc.saas.mini.vo.rc;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.saas.mini.model.rc.RcEvaluate;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: zcg
 * @CreateDate: 2022/7/5 15:20
 */
public class RcWithEvaluateVo {

    @ApiModelProperty(value = "评价")
    private String evaluate;

    @ApiModelProperty(value = "评价星级(1-5)")
    private Integer evaStar;

    @ApiModelProperty(value = "结算时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;
    /**
     * 站名
     */
    @ApiModelProperty(value = "站名")
    private String elecStationName;

    @ApiModelProperty(value = "实际支付金额")
    private BigDecimal payAmount;

    @ApiModelProperty(value = "外部订单号")
    private String outOrderNum;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "评价时间")
    private Date evaluateTime;


    @ApiModelProperty(value = "订单id")
    private Long orderId;


    @ApiModelProperty(value = "评论ID")
    private Long evaluateId;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getEvaluateId() {
        return evaluateId;
    }

    public void setEvaluateId(Long evaluateId) {
        this.evaluateId = evaluateId;
    }

    public Date getEvaluateTime() {
        return evaluateTime;
    }

    public void setEvaluateTime(Date evaluateTime) {
        this.evaluateTime = evaluateTime;
    }

    public String getEvaluate() {
        return evaluate;
    }

    public void setEvaluate(String evaluate) {
        this.evaluate = evaluate;
    }

    public Integer getEvaStar() {
        return evaStar;
    }

    public void setEvaStar(Integer evaStar) {
        this.evaStar = evaStar;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getElecStationName() {
        return elecStationName;
    }

    public void setElecStationName(String elecStationName) {
        this.elecStationName = elecStationName;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public String getOutOrderNum() {
        return outOrderNum;
    }

    public void setOutOrderNum(String outOrderNum) {
        this.outOrderNum = outOrderNum;
    }
}
